package controller4admin

import (
	"Gin-Gorm-boke/boke_admin/yewu/service4admin"
	"Gin-Gorm-boke/boke_user/yewu/service4user"
	"github.com/gin-gonic/gin"
)

func GetCategoryList(c *gin.Context) {
	service4user.GetCategoryList(c)
}

func CategoryPageList(c *gin.Context) {
	service4admin.CategoryPageList(c)
}

func GetCategoryById(c *gin.Context) {
	service4admin.GetCategoryById(c)
}

func UpdateCategory(c *gin.Context) {
	service4admin.UpdateCategory(c)
}

func SaveCategory(c *gin.Context) {
	service4admin.SaveCategory(c)
}

func DelCategory(c *gin.Context) {
	service4admin.DelCategory(c)
}
